<html>
	<head>
		<title>Configuration &amp; Data File</title>
		<style   type="text/css">   
  		<!--   
  		body {
  			margin-left: 0px;
  			margin-top: 0px;
  			margin-right: 0px;
  			margin-bottom: 0px;
  		}   
  		-->   
  		</style>
	</head>

	<script language="javascript" type="text/javascript">
	<!--
	function check() {
		if(document.uploadForm.file.value == ""){
			alert("Please select a data file!");
			return false;
		}
		return true;
	}
	-->
	</script>

	<body>
		<table align="center" cellpadding="4" width="50%" height="30%">
			<tr>
				<td valign="middle" colspan="2" align="center">
					<strong><font color="black"><font size="5"><font
								face="Verdana">Configuration &amp; Data File</font> </font> </font> </strong>
					<br>
				</td>
			</tr>
		</table>

		<table align="center"
			style="border-color: #CCCCCC; border-width: 6px; border-style: solid;"
			cellpadding="4" bgcolor="#FFFFFF" width="50%" height="20%">
			<tr>
				<td valign="middle" align="center">
					<form name="uploadForm" onsubmit=" return check()" method="post"
						enctype="multipart/form-data" action="uploadFile">
						Select a configuration file:
						<select name="select" id="select">
						<%
							String option = (String)session.getAttribute("option");
							String names[] = option.split("\\|");
							for(String str: names){
						%>
							<option value=<%= str %>><%= str %></option>
						<%
							}
						%>
						</select>
						<p />
						Choose a data file:
						<input type="file" name="file" size="40">
						<p />
						<input type="submit" value="Upload">
					</form>
				</td>
			</tr>
		</table>
	</body>
</html>
